package cn.qzuie.smart.module.dorm.controller.admin.dormitories.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.qzuie.smart.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.qzuie.smart.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 宿舍分页 Request VO")
@Data
public class DormitoriesPageReqVO extends PageParam {

    @Schema(description = "楼栋", example = "32177")
    private Long buildingId;

    @Schema(description = "门牌号")
    private String roomNo;

    @Schema(description = "宿舍类型：'单人间','双人间','四人间','六人间'", example = "2")
    private Integer roomType;

    @Schema(description = "房价", example = "15830")
    private BigDecimal price;

    @Schema(description = "入住人数")
    private Integer currentOccupancy;

    @Schema(description = "状态:'空闲','已满','维修中'", example = "2")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}